const center = m => require.ensure([],()=>m(require('@/components/center')),'center')       // 他人中心
const editorData = m => require.ensure([],()=>m(require('@/components/centerChild/editorData')),'editorData')       // 编辑资料
const centerAll = m => require.ensure([],()=>m(require('@/components/centerAll')),'centerAll')      // 个人中心
const focusOn = m => require.ensure([],()=>m(require('@/components/centerChild/focusOn')),'focusOn')      // 关注
const giveLike = m => require.ensure([],()=>m(require('@/components/centerChild/giveLike')),'giveLike')      // 点赞
const income = m => require.ensure([],()=>m(require('@/components/centerChild/income')),'income')      // 收入
const setting = m => require.ensure([],()=>m(require('@/components/centerChild/setting')),'setting')      // 设置
const account = m => require.ensure([],()=>m(require('@/components/settingChild/account')),'account')      // 账户设置
const alerts = m => require.ensure([],()=>m(require('@/components/settingChild/alerts')),'alerts')      // 消息通知
const privacy = m => require.ensure([],()=>m(require('@/components/settingChild/privacy')),'privacy')      // 隐私设置
const updatePhone = m => require.ensure([],()=>m(require('@/components/settingChild/updatePhone')),'updatePhone')      // 修改手机绑定
const identity = m => require.ensure([],()=>m(require('@/components/settingChild/identity')),'identity')      // 修改手机绑定
const coupons = m => require.ensure([],()=>m(require('@/components/centerChild/coupons')),'coupons')      // 优惠券
const gift = m => require.ensure([],()=>m(require('@/components/centerChild/gift')),'gift')      // 礼物
const topUp = m => require.ensure([],()=>m(require('@/components/centerChild/topUp')),'topUp')      // 钻石充值
const iosTopUp = m => require.ensure([],()=>m(require('@/components/centerChild/iosTopUp')),'iosTopUp')      // ios钻石充值
const records = m => require.ensure([],()=>m(require('@/components/centerChild/records')),'records')      // 交易记录
const moneyTopUp = m => require.ensure([],()=>m(require('@/components/centerChild/moneyTopUp')),'moneyTopUp')      // 充钱
const iosMoneyTopUp = m => require.ensure([],()=>m(require('@/components/centerChild/iosMoneyTopUp')),'iosMoneyTopUp')      // 充钱
const records2 = m => require.ensure([],()=>m(require('@/components/centerChild/records2')),'records2')      // 交易记录
const comments = m => require.ensure([],()=>m(require('@/components/centerChild/comments')),'comments')      // 动态评论详情
const balance = m => require.ensure([],()=>m(require('@/components/centerChild/balance')),'balance')      // 余额提现
const help = m => require.ensure([],()=>m(require('@/components/settingChild/help')),'help')      // 余额提现
const audit = m => require.ensure([],()=>m(require('@/components/centerChild/audit')),'audit')      // 服务审核中
export const centers = [
    {
        path: '/center',
        name: 'center',
        component: center,
    },
    {
        path: '/editorData',
        name: 'editorData',
        component: editorData,
    },
    {
        path: '/centerAll',
        name: 'centerAll',
        component: centerAll,
    },
    {
        path: '/focusOn/:focusId/:typeId',
        name: 'focusOn',
        component: focusOn,
    },
    {
        path: '/giveLike/:giveLikeId',
        name: 'giveLike',
        component: giveLike,
    },
    {
        path: '/income/:incomeId',
        name: 'income',
        component: income,
    },
    {
        path: '/setting',
        name: 'setting',
        component: setting,
    },
    {
        path: '/account',
        name: 'account',
        component: account,
    },
    {
        path: '/alerts',
        name: 'alerts',
        component: alerts,
    },
    {
        path: '/privacy',
        name: 'privacy',
        component: privacy,
    },
    {
        path: '/updatePhone',
        name: 'updatePhone',
        component: updatePhone,
    },
    {
        path: '/identity',
        name: 'identity',
        component: identity,
    },
    {
        path: '/coupons',
        name: 'coupons',
        component: coupons,
    },
    {
        path: '/gift',
        name: 'gift',
        component: gift,
    },
    {
        path: '/topUp',
        name: 'topUp',
        component: topUp,
    },
    {
        path: '/iosTopUp',
        name: 'iosTopUp',
        component: iosTopUp,
    },
    {
        path: '/records/:recordsId',
        name: 'records',
        component: records,
    },
    {
        path: '/moneyTopUp',
        name: 'moneyTopUp',
        component: moneyTopUp
    },
    {
        path: '/iosMoneyTopUp',
        name: 'iosMoneyTopUp',
        component: iosMoneyTopUp
    },
    {
        path: '/records2/:recordsId2',
        name: 'records2',
        component: records2
    },
    {
        path: '/comments/:commentsId',
        name: 'comments',
        component: comments
    },
    {
        path: '/balance',
        name: 'balance',
        component: balance
    },
    {
        path: '/help',
        name: 'help',
        component: help
    } ,
    {
        path: '/audit',
        name: 'audit',
        component: audit
    } 
          
]